package com.test.domain.fruit.service.fruit;

public class AppleStrategy implements FruitBuyStrategy{
    private static final double apple_price = 8.0;

    @Override
    public double calculatePrice(int weight) {
        return apple_price * weight;
    }

    @Override
    public double calculatePriceByDiscout(int weight, double discout) {
        return apple_price * weight;
    }
}
